package com.bootdo.wx.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.wx.dao.CmsCompanyDao;
import com.bootdo.wx.domain.CmsCompanyDO;
import com.bootdo.wx.service.CmsCompanyService;



@Service
public class CmsCompanyServiceImpl implements CmsCompanyService {
	@Autowired
	private CmsCompanyDao cmsCompanyDao;
	
	@Override
	public CmsCompanyDO get(String id){
		return cmsCompanyDao.get(id);
	}
	
	@Override
	public List<CmsCompanyDO> list(Map<String, Object> map){
		return cmsCompanyDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return cmsCompanyDao.count(map);
	}
	
	@Override
	public int save(CmsCompanyDO cmsCompany){
		return cmsCompanyDao.save(cmsCompany);
	}
	
	@Override
	public int update(CmsCompanyDO cmsCompany){
		return cmsCompanyDao.update(cmsCompany);
	}
	
	@Override
	public int remove(String id){
		return cmsCompanyDao.remove(id);
	}
	
	@Override
	public int batchRemove(String[] ids){
		return cmsCompanyDao.batchRemove(ids);
	}

    @Override
    public List<CmsCompanyDO> likeList(Map<String, Object> map){
        return cmsCompanyDao.likeList(map);
    }
	
}
